package com.example.patient.dto.resp;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @Author wxy
 * @Date 2021/1/21 20:54
 * @Version 1.0
 */
@Data
@ApiModel(value = "问诊、就诊、西药处方信息返回体")
public class XRxDetailResp implements Serializable {
    private static final long serialVersionUID = 1030912507900091727L;

    @ApiModelProperty(value = "name")
    @JSONField(name = "Name")
    private String name;
    @ApiModelProperty(value = "rxOrderNO")
    @JSONField(name = "RxOrderNO")
    private String rxOrderNO;
    @ApiModelProperty(value = "sex")
    @JSONField(name = "Sex")
    private String sex;
    @ApiModelProperty(value = "age")
    @JSONField(name = "Age")
    private Integer age;
    @ApiModelProperty(value = "depName")
    @JSONField(name = "depName")
    private String depName;
    @ApiModelProperty(value = "createTime")
    @JSONField(name = "CreateTime")
    private String createTime;
    @ApiModelProperty(value = "dialectical")
    @JSONField(name = "Dialectical")
    private String dialectical;
    @ApiModelProperty(value = "rxDrugs")
    @JSONField(name = "RxDrugs")
    private List<RxDrugsResp> rxDrugs;
    @ApiModelProperty(value = "salePrice")
    @JSONField(name = "SalePrice")
    private BigDecimal salePrice;
    @ApiModelProperty(value = "badge")
    @JSONField(name = "Badge")
    private String badge;
    @ApiModelProperty(value = "openDoctor")
    @JSONField(name = "OpenDoctor")
    private String openDoctor;
    @ApiModelProperty(value = "chkStatus")
    @JSONField(name = "ChkStatus")
    private Integer chkStatus;
    @ApiModelProperty(value = "chkDoctor")
    @JSONField(name = "ChkDoctor")
    private String chkDoctor;
    @ApiModelProperty(value = "failureReason")
    @JSONField(name = "FailureReason")
    private String failureReason;
    @ApiModelProperty(value = "failureRemark")
    @JSONField(name = "FailureRemark")
    private String failureRemark;
    @ApiModelProperty(value = "isHandle")
    @JSONField(name = "IsHandle")
    private Boolean isHandle;
    @ApiModelProperty(value = "isRxExpired")
    @JSONField(name = "IsRxExpired")
    private Boolean isRxExpired;
    private Boolean isRecipeDocCa;
    private String zDialectical;
    private String zDialectics;

    @Data
    public static class RxDrugsResp implements Serializable {
        private static final long serialVersionUID = -1580278538465717335L;

        @ApiModelProperty(value = "drugName")
        @JSONField(name = "DrugName")
        private String drugName;
        @ApiModelProperty(value = "spec")
        @JSONField(name = "Spec")
        private String spec;
        @ApiModelProperty(value = "num")
        @JSONField(name = "Num")
        private Integer num;
        @ApiModelProperty(value = "suggest")
        @JSONField(name = "Suggest")
        private String suggest;
        @ApiModelProperty(value = "remark")
        @JSONField(name = "Remark")
        private String remark;
    }
}
